package com.hm.pan.service;

import java.util.List;
import com.hm.pan.model.UserFile;

public interface UserFileService {

	List<UserFile> getAllFiles(UserFile filter) throws Exception;

	List<UserFile> getAllFilesByPath(String path, UserFile filter) throws Exception;

	UserFile getOneFile(UserFile filter) throws Exception;

	UserFile getOneFileByPath(String path) throws Exception;

	List<UserFile> getRecycle(UserFile filter);

	boolean deleteFile(boolean absolutely, long userfileId) throws Exception;

	boolean restoreFile(long userfileId) throws Exception;

	boolean updateUserFile(UserFile userFile) throws Exception;

	boolean insertFile(UserFile userFile) throws Exception;

	List<UserFile> deepGetAllFiles(long userfileId) throws Exception;

}
